package com.bsierp.business.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Position entity. @author MyEclipse Persistence Tools
 */

public class Position implements java.io.Serializable {

    // Fields

    private Integer positionId;
    private String positionName;
    private Set employees = new HashSet(0);
    private Set employeeHistories = new HashSet(0);

    // Constructors

    /** default constructor */
    public Position() {
    }

    /** minimal constructor */
    public Position(String positionName) {
        this.positionName = positionName;
    }

    /** full constructor */
    public Position(String positionName, Set employees, Set employeeHistories) {
        this.positionName = positionName;
        this.employees = employees;
        this.employeeHistories = employeeHistories;
    }

    // Property accessors

    public Integer getPositionId() {
        return this.positionId;
    }

    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    public String getPositionName() {
        return this.positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public Set getEmployees() {
        return this.employees;
    }

    public void setEmployees(Set employees) {
        this.employees = employees;
    }

    public Set getEmployeeHistories() {
        return this.employeeHistories;
    }

    public void setEmployeeHistories(Set employeeHistories) {
        this.employeeHistories = employeeHistories;
    }

}